<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Administrator Area</title>
    <style type="text/css" media="all">
    @import url("http://style.alibaba.com/css/minisite/common.css?c=200804151036.css");
    @import url("http://style.alibaba.com/css/4v/relateJS.css?c=20080711");
    @import url("http://style.alibaba.com/css/minisite/styleG1.css?c=200804151036.css");
    </style>

    {% block head %}{% endblock %}

  </head>
  <body>

  <div align="right">
  {% if userInfo.isLogin %}
    Welcome, {{userInfo.user.nickname}}!
    {% if userInfo.isAdmin %}
      (<a href="/admin/" target="_blank">Admin Area</a>)
    {% endif %}
    (<a href="{{userInfo.logoutUrl}}">Sign out</a>)
  {% else %}
    <a href="{{userInfo.loginUrl}}">Sign in</a>
  {% endif %}
  </div>
  
  {% block body %}{% endblock %}

  <p></p>
  <p></p>
  <div align="center">
  <a href="mailto:javaone@gmail.com">Contact Us</a><br/>
  <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" alt="Powered by Google App Engine" />
  </div>

  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  var pageTracker = _gat._getTracker("UA-3286254-3");
  pageTracker._trackPageview();
  </script>
  
</body>
</html>